←Select platform

FindPatient(string,FindPatientOptions,List<PatientInfo>,int) Method

Summary

Finds all patients that match the specified search criteria.

Syntax
C#
VB
C++
Public Function FindPatient( 
   ByVal patientID As String, 
   ByVal options As FindPatientOptions, 
   ByVal patients As List(Of PatientInfo 
), 
   ByVal maxQueryResults As Integer) As ControllerReturnCode 

Parameters

patientID

The ID of the patient for which to search.

options

Options for the search.

patients

List of PatientInfo objects to be updated with the results of the search.

maxQueryResults

Specifies the maximum number of results to return. <

Return Value

A ControllerReturnCode value indicating the results of the search.

Remarks

This method is similar to FindPatient(string,FindPatientOptions,List{PatientInfo}), but allows you to pass a value for maxQueryResults that puts a limit on the number of results returned. This is useful for querying large databases, where the results returned could be unpredictably large.

Pass 'null' for patientID to get all patients.

Pass 0 for maxQueryResults if you do not want to limit the number of results returned.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.WebViewer.ExternalControl Assembly